package com.hjb.service.mapper;

import com.hjb.service.domain.common.Holiday;
import com.hjb.service.domain.common.HolidayExample;
import com.hjb.service.mybatis.BaseMapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 * 节假日接口业务实现类
 * @author zhangxl
 * @date 2017-07-27
 * @version 1.0
 */
public interface HolidayMapper extends BaseMapper<Holiday> {
    int countByExample(HolidayExample example);

    int deleteByExample(HolidayExample example);


    int updateByExampleSelective(@Param("record") Holiday record, @Param("example") HolidayExample example);

    int updateByExample(@Param("record") Holiday record, @Param("example") HolidayExample example);
    
    List<String> queryHolidayList(String date);
}